namespace Tyng.Data.SqlServer
{
    /// <summary>
    /// Type of <see cref="T:System.Data.SqlClient.SqlException" />
    /// </summary>
    enum SqlExceptionType
    {
        /// <summary>
        /// Unknown <see cref="T:System.Data.SqlClient.SqlException" />
        /// </summary>
        Unknown,
        /// <summary>
        /// <see cref="T:System.Data.SqlClient.SqlException" /> triggered by a constraint violation
        /// </summary>
        ConstraintViolation,
        /// <summary>
        /// User-defined <see cref="T:System.Data.SqlClient.SqlException" /> triggered by a <c>raiserror</c> statement in T-SQL
        /// </summary>
        UserDefined
    };
}
